<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/struts-dojo-tags"  prefix="sx" %>
<jsp:directive.page import="com.im.logic.*" />
<jsp:directive.page import="com.im.entity.*" />

<s:set name="count" value="0"></s:set>
<s:div id="total_navi">
	<div class="inner-wrapper">
		<ul class="float-list clear">
			<s:iterator value="%{column.object}">
				<li id="<s:property value="#count" />"
				<s:if test="%{is_here==1}">
					class="navi-site-here" 
				</s:if>
				><s:a href="%{href}"><s:property value="text" /></s:a></li>
				<s:set name="count" value="%{#count + 1}"></s:set>
			</s:iterator>
		</ul>
	</div>
</s:div>

<s:set name="count" value="0"></s:set>
<s:iterator value="%{column.object}">
	<s:if test="%{has_childLinks==1}">
		<div id="total_sub_navi<s:property value="#count" />" class="total_sub_navi">
		<div class="inner-wrapper clear">
			<span class="link-group-title 
			<s:if test="%{is_set_front==0}">
				set-site-normal
			</s:if>
			"><s:property value="%{text}" /></span>
			<s:action name="navigation" executeResult="true" ignoreContextParams="true">
				<s:param name="id"><s:property value="%{id}" /></s:param>
				<s:param name="model_name"><s:property value="model_name" /></s:param>
				<s:param name="column_name"></s:param><!-- 这里需要重置这些参数否则会优先匹配column模式 -->
				<s:param name="navi_site">-1</s:param>
			</s:action>
		</div>
	</div>
	</s:if>
	<s:set name="count" value="%{#count + 1}"></s:set>
</s:iterator>
<script type="text/javascript" src="source/js/index_sub_nav_change.js"></script>